package com.zzu.base.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum CourseCategoryEnum {
    COMPUTER_SCIENCE(1, "计算机科学"),
    ELECTRONIC_INFORMATION(2, "电子信息"),
    MATHEMATICS(3, "数学"),
    PHYSICS(4, "物理学"),
    CHEMISTRY(5, "化学"),
    BIOLOGY(6, "生物学"),
    MEDICINE(7, "医学"),
    ECONOMICS(8, "经济学"),
    MANAGEMENT(9, "管理学"),
    LAW(10, "法学"),
    LITERATURE(11, "文学"),
    HISTORY(12, "历史学"),
    PHILOSOPHY(13, "哲学"),
    EDUCATION(14, "教育学"),
    FOREIGN_LANGUAGE(15, "外语"),
    ART(16, "艺术学"),
    ENGINEERING(17, "工学"),
    AGRICULTURE(18, "农学"),
    ENVIRONMENTAL_SCIENCE(19, "环境科学"),
    PSYCHOLOGY(20, "心理学");
    @EnumValue
    @JsonValue
    private  final int id;
    private final String description;
    CourseCategoryEnum(int id, String description){
        this.id=id;
        this.description=description;
    }
}
